GXGetDTPMenuList
The Finder sends theGXGetDTPMenuList
message when it displays the Printing menu for a particular desktop printer.You can override theGXGetDTPMenuList
message if you need to add menu items to the Printing menu. Your override of theGXGetDTPMenuList
message must match the following formal declaration:
OSErr MyGetDTPMenuList (MenuHandle aMenu);
aMenu
- A handle to the menu to which you are adding items.
- function result
- An error code. The value
noErr
indicates that the operation was successful.DESCRIPTION
The default implementation of this message provides the initial list of Printing menu items.You can override this message if you need to add menu items to the Printing menu.You can use the
AppendMenu
function to add your items.SPECIAL CONSIDERATIONS
You never send theGXGetDTPMenuList
message yourself.You must forward the
GXGetDTPMenuList
message. Forward the message first and then add your menu items.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found,
or there was not enough memory to load it.gxPrUserAbortErr The user has canceled printing. SEE ALSO
For more information on desktop printers and the Printing menu, see Inside Macintosh: QuickDraw GX Printing.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help